function load(isFirst,page){
	var type = $("#type").val();
	var userId = $("#userId").val();
	var url = "wx/operationWork/search/-1/"+userId+"?type="+type;
	$.get(url, {
		"page": page,
		"pageSize": PAGESIZE
	},function(response, status) {
		if (status == "success") {
			if(isFirst){
				$("#thelist").show();
			}
			if(!isFirst && page == 1){
				$("#thelist").empty();
				myScroll.refresh();
			}
			
			if (response.data.length < PAGESIZE) {
				hasMoreData = false;
				$("#pullUp").hide();
			} else {
				hasMoreData = true;
				$("#pullUp").show();
			}
			
			if(!myScroll){
				myScroll = createScroll();
			}

			$.each(response.data, function(key, work) {
					
				var state = "未处理";
				var operation = "操作:";
				if(work.state == 1){
					operation = "<a href='wx/operationWork/cancle/"+userId+"/"+work.id+"' >取消</a>";
				}else if(work.state == 2){
					state = "处理中";
				}else if(work.state == 3){
					state = "挂起";
				}else if(work.state == 4){
					state = "已完成";
				}else if(work.state == 5){
					state = "已评价";
				}

				if(work.state != 1){
					operation += "&nbsp;&nbsp;<a href='wx/operationWork/lookHandle/"+userId+"/"+work.id+"' >查看处理明细</a>";
				}
				
				var html = '<div>服务编号：' + work.workNo 	
					+'</div><div>报障时间：'+ work.startTime 
					+'</div><div>描述：'+ work.describe 
					+'</div><div>状态：'+ state
					+'</div>';
				
				if(operation != "操作:"){
					html += '<div>'+operation+"</div>";
				}
				html+= '<hr  style="background-color:#000000;border:0;height:1px;"/>';
				
				$("#thelist").append(html);
			});
			
			myScroll.refresh(); // Remember to refresh when contents are loaded (ie: on ajax completion)
			if (hasMoreData) {
				myScroll.maxScrollY = myScroll.maxScrollY + pullUpOffset;
			} else {
				myScroll.maxScrollY = myScroll.maxScrollY;
			}
			maxScrollY = myScroll.maxScrollY;
		};
	},"json");
}